<div class="related">
  <h2 id="tabs_header"><span><?php echo $widget_title;?></span></h2>
    <div class="clear" style="height:10px"></div>
    <ul>
	<?php
	  if($games){
	  foreach($games as $game){
	  ?>
    <li class="gamebox_head_wrapper">
	
        <div class="gamebox_image"> <a href="<?php echo game_url($game->game_id,$game->game_code);?>" title="<?php echo $game->game_title;?>"> <img src="<?php echo image_thumbnail($game->game_thumb,'thumbnail');?>" width="97" alt="<?php echo $game->game_title;?>" align="left"> </a> </div>
		<div class="gamebox_info">
		  <a href="<?php echo game_url($game->game_id,$game->game_code);?>" title="<?php echo $game->game_title;?>"><?php echo $game->game_title;?> </a>
		</div>
	    </li>
	 <?php } 
	 unset($games);
	 }?>
      
      </ul>
</div>